package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbNewsUnreadDetails;
import com.quanyan.user.model.db.TbNewsUnreadDetailsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbNewsUnreadDetailsMapper {
    int countByExample(TbNewsUnreadDetailsExample example);

    int deleteByExample(TbNewsUnreadDetailsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbNewsUnreadDetails record);

    int insertSelective(TbNewsUnreadDetails record);

    List<TbNewsUnreadDetails> selectByExample(TbNewsUnreadDetailsExample example);

    TbNewsUnreadDetails selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbNewsUnreadDetails record, @Param("example") TbNewsUnreadDetailsExample example);

    int updateByExample(@Param("record") TbNewsUnreadDetails record, @Param("example") TbNewsUnreadDetailsExample example);

    int updateByPrimaryKeySelective(TbNewsUnreadDetails record);

    int updateByPrimaryKey(TbNewsUnreadDetails record);
}